<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title>本店评论</title>
		<link type="text/css" rel="stylesheet" href="/fontsawesome/css/font-awesome.css"/>
		<link type="text/css" rel="stylesheet" href="/css/style.css"/>
		<style>

			.user_top span h1{
				margin: 13px;
				color: #0a5eb6;
			}
			.package_detail li{
				list-style-type: none;
				margin: 15px;
				color: rgba(52, 86, 136, 0.69);
				font-size: 18px;
				font-weight: bold;
			}
			.package_detail li span{
				color: #2f9fda;
			}
			.comment{
				white-space:pre-wrap;
			}

		</style>
	</head>
	<body>
		<div class="main_box">
			<div class="cont_box">
				<!--会员姓名电话-->
				<div th:if="${providerView != null}">
					<div class="user_top" id="123"><span><h1 th:text="${providerView?.name}"></h1></span></div><!--这里的id是用户id-->
					<!--礼包详情-->
					<ul class="package_detail">
						<li>编号：<span th:text="${providerView?.id}"></span></li>
						<li>法人：<span th:text="${providerView?.boss}"></span></li>
						<li>电话：<span th:text="${providerView?.phone}"></span></li>
						<li>传真号：<span th:text="${providerView?.faxNum}"></span></li>
						<li>成立时间：<span th:text="${#dates.format(providerView?.createDay,'yyyy-MM-dd')}"></span></li>
						<li>地址：<span th:text="${providerView?.address}"></span></li>
						<li>描述：<span th:text="${providerView?.description}"></span></li>
					</ul>

				</div>
				<div th:if="${commodityView != null}">
					<div class="user_top" id="123"><span><h1 th:text="${commodityView?.name}"></h1></span></div><!--这里的id是用户id-->
					<!--礼包详情-->
					<ul class="package_detail">
						<li>编号：<span th:text="${commodityView?.id}"></span></li>
						<li>类型：<span th:text="${commodityView?.commodityType.stateName}"></span></li>
						<li>批发价：<span th:text="${commodityView?.price}"></span></li>
						<li>仓库库存：<span th:text="${commodityView?.amount}"></span></li>
						<li>描述：<span th:text="${commodityView?.describes}"></span></li>
					</ul>
				</div>
				<div th:if="${activationRecordView != null}">
					<div class="user_top" id="123"><span><h1 th:text="|活动编号： ${activationRecordView?.id}|"></h1></span></div><!--这里的id是用户id-->
					<ul class="package_detail">
						<li><span class="comment" th:text="${activationRecordView?.active}"></span></li>
					</ul>
				</div>

		</div>
		</div>
		<!--javascript include-->
		<script src="/js/jquery-2.2.1.min.js"></script>
		<script src="/js/jquery.dataTables.min.js"></script>
		<script src="/js/bootstrap-datepicker.js"></script>
		<script src="/js/jquery.validate.min.js"></script>
		<script src="/js/other.js"></script>
	</body>
</html>
